#!/bin/bash

PAR2LIST=$(find . -type "d")

declare -a Array1=( $(echo "$PAR2LIST"|awk '{print $1}') )

for ((i=0; i<${#Array1[*]}; i++))
do
   runvid "${Array1[$i]}"
done
